<!-- Begin issues/move.tpl -->
{if !empty($smarty.post.gid)}
{opentable}
{titlebar colspan=2 title=$lg->move_issue}
<tr class="systmsg"><td colspan="2">{$lg->move_confirm}</td></tr>
<tr class="sectiontableentry1" align="center">
<td width="50%">
<form method="post" action="?module=issues&action=move_issue&issueid={$smarty.get.issueid}">
<input type="hidden" name="confirm" value="true" />
<input type="hidden" name="gid" value="{$smarty.post.gid}" />
<input type="submit" class="button" value={$lg->validate} />
</form>
</td>
<td width="50%">
<form method="post" action="?module=issues&action=view&issueid={$smarty.get.issueid}">
<input type="submit" class="button" value={$lg->cancel} />
</form>
</td>
</tr>
</table>
{else}
<form method="post" action="?module=issues&action=move_issue&issueid={$smarty.get.issueid}">
{opentable}
{titlebar colspan=2 title=$lg->move_issue}
<tr>
<td class="sectiontableentry2" width="20%" align="right" valign="middle">{$lg->reassign_to}</td>
<td class="sectiontableentry1" width="80%">
<select name="gid">
{foreach from=$smarty.session.groups item=gid}
{if group_active($gid) eq TRUE}
<option value="{$gid}">{groupname id=$gid}</option>
{/if}
{/foreach}
</select>
</td>
</tr>
<tr class="titlebar"><td colspan="2"><input type="submit" class="button" value={$lg->save} /></td></tr>

</table></form>
{/if}

</table>
<!-- End issues/move.tpl -->

